home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_qt.idb / usr / freeware / include / Qt / qbitmap.h.z / qbitmap.h
Encoding:
C/C++ Source or Header  |  1998-10-28  |  1.5 KB  |  52 lines

  1. /****************************************************************************
  2. ** $Id: qbitmap.h,v 2.3 1998/07/03 00:09:30 hanord Exp $
  3. **
  4. ** Definition of QBitmap class
  5. **
  6. ** Created : 941020
  7. **
  8. ** Copyright (C) 1992-1998 Troll Tech AS.  All rights reserved.
  9. **
  10. ** This file is part of Qt Free Edition, version 1.40.
  11. **
  12. ** See the file LICENSE included in the distribution for the usage
  13. ** and distribution terms, or http://www.troll.no/free-license.html.
  14. **
  15. ** IMPORTANT NOTE: You may NOT copy this file or any part of it into
  16. ** your own programs or libraries.
  17. **
  18. ** Please see http://www.troll.no/pricing.html for information about 
  19. ** Qt Professional Edition, which is this same library but with a
  20. ** license which allows creation of commercial/proprietary software.
  21. **
  22. *****************************************************************************/
  23.  
  24. #ifndef QBITMAP_H
  25. #define QBITMAP_H
  26.  
  27. #ifndef QT_H
  28. #include "qpixmap.h"
  29. #endif // QT_H
  30.  
  31.  
  32. class QBitmap : public QPixmap            // bitmap class
  33. {
  34. public:
  35.     QBitmap();
  36.     QBitmap( int w, int h,  bool clear = FALSE );
  37.     QBitmap( const QSize &, bool clear = FALSE    );
  38.     QBitmap( int w, int h,  const uchar *bits, bool isXbitmap=FALSE );
  39.     QBitmap( const QSize &, const uchar *bits, bool isXbitmap=FALSE );
  40.     QBitmap( const QBitmap & );
  41.     QBitmap( const char *fileName, const char *format=0 );
  42.  
  43.     QBitmap &operator=( const QBitmap & );
  44.     QBitmap &operator=( const QPixmap & );
  45.     QBitmap &operator=( const QImage  & );
  46.  
  47.     QBitmap  xForm( const QWMatrix & ) const;
  48. };
  49.  
  50.  
  51. #endif // QBITMAP_H
  52.